﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnOrderFilledHandle(OrderFilledEventArgs e);

    [Guid("12b4c474-7d3d-4a02-af57-4582b4cc5aab")]
    public interface IOrderFilledEventArgs
    {
        ReturnInfo ReturnInfo { get; set; }
        OrderReport Report { get; set; }
        int RequestID { get; set; }
    }

    [Guid("0255b9d5-0684-4750-8cdd-46c6d3f89ff1")]
    [ClassInterface(ClassInterfaceType.None)]
    public class OrderFilledEventArgs : EventArgs, IOrderFilledEventArgs
    {
        public ReturnInfo ReturnInfo { get; set; }
        public OrderReport Report { get; set; }
        public int RequestID { get; set; }
    }

}
